package com.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * @author mornd
 * @date 2020/12/4 - 16:44
 */
@Data
public class Checkout {
    private Integer id;
    private String customerName;
    private Double consumePrice;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    private Integer createdBy;
    private Integer roomTypeId;
    private Integer roomId;
    private String idCard;
    private String phone;
    @JSONField(format = "yyyy-MM-dd")
    private Date arriveDate;
    @JSONField(format = "yyyy-MM-dd")
    private Date leaveDate;

    private RoomType roomType;
    private Room room;
    private Account account;

}
